﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace LootPoints
{
    public partial class RSReference
    {
        public Dictionary<int, string[]> List
        {
            get
            {
                Dictionary<int, string[]> references = new Dictionary<int, string[]>();
                int index = 0;

                if (A01D != null && A01D != "") { references.Add(index, new string[2] { A01D, A01P.ToString() }); index++; }
                if (A02D != null && A02D != "") { references.Add(index, new string[2] { A02D, A02P.ToString() }); index++; }
                if (A03D != null && A03D != "") { references.Add(index, new string[2] { A03D, A03P.ToString() }); index++; }
                if (A04D != null && A04D != "") { references.Add(index, new string[2] { A04D, A04P.ToString() }); index++; }
                if (A05D != null && A05D != "") { references.Add(index, new string[2] { A05D, A05P.ToString() }); index++; }
                if (A06D != null && A06D != "") { references.Add(index, new string[2] { A06D, A06P.ToString() }); index++; }
                if (A07D != null && A07D != "") { references.Add(index, new string[2] { A07D, A07P.ToString() }); index++; }
                if (A08D != null && A08D != "") { references.Add(index, new string[2] { A08D, A08P.ToString() }); index++; }
                if (A09D != null && A09D != "") { references.Add(index, new string[2] { A09D, A09P.ToString() }); index++; }
                if (A10D != null && A10D != "") { references.Add(index, new string[2] { A10D, A10P.ToString() }); index++; }
                if (A11D != null && A11D != "") { references.Add(index, new string[2] { A11D, A11P.ToString() }); index++; }
                if (A12D != null && A12D != "") { references.Add(index, new string[2] { A12D, A12P.ToString() }); index++; }
                if (A13D != null && A13D != "") { references.Add(index, new string[2] { A13D, A13P.ToString() }); index++; }
                if (A14D != null && A14D != "") { references.Add(index, new string[2] { A14D, A14P.ToString() }); index++; }
                if (A15D != null && A15D != "") { references.Add(index, new string[2] { A15D, A15P.ToString() }); index++; }

                return references;
            }
        }
    }
}